package com.algebra.util.annotation;

import com.algebra.util.encrypt.Algorithm;

import java.lang.annotation.*;

/**
 * @author al
 * @date 2022/5/24 15:06
 * @description
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
public @interface FieldEncrypt {
    String password() default "";

    Algorithm algorithm() default Algorithm.PBEWithMD5AndDES;
}
